//
//  ClassIfModel.m
//  GoBigMarket
//
//  Created by 李真 on 16/8/22.
//  Copyright © 2016年 legend. All rights reserved.
//  商品分类model

#import "ClassIfModel.h"

@implementation ClassIfModel

- (instancetype)initWithDic:(NSDictionary *)dic{
    self = [super init];
    if (self) {
        [self creatData:dic];
    }
    return self;
}

- (void)creatData:(NSDictionary *)dic{
    self.Id = [[dic valueForKey:@"Id"]intValue];
    self.Name = [dic valueForKey:@"Name"];
    self.SubCategory = [dic valueForKey:@"SubCategory"];
}

@end
